home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000076_news@newsmaster….columbia.edu _Thu Jul 17 14:07:02 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA15258
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 17 Jul 1997 14:07:01 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA20277
  7.     for kermit.misc@watsun; Thu, 17 Jul 1997 14:07:01 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Using TELNET with a dialup connection with CKermit 6.0.192 on NextStep
  12. Date: 17 Jul 1997 18:06:53 GMT
  13. Organization: Columbia University
  14. Lines: 62
  15. Message-ID: <5qlmvt$4h8$1@apakabar.cc.columbia.edu>
  16. References: <5qjs23$nnf@andromeda.rutgers.edu>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7347
  19.  
  20. In article <5qjs23$nnf@andromeda.rutgers.edu>,
  21. Steven C. Perkins <sperkins@andromeda.rutgers.edu> wrote:
  22. : I am trying to use CKERMIT to make a TCP/IP connection to my dialup server.
  23. : I suspect I am doing something wrong or that the NeXTStep version does not
  24. : support TELNET connections.
  25. : I make a modem connection to my server.  I give a PPP default command and
  26. : get the IP address and connection. I then escape to the Kermit prompt and
  27. : set network tcp/ip, set host to the server and seem to get a reset of my
  28. : modem and the program hangs.
  29. You have made the serial connection, started PPP on the remote terminal
  30. server, but you have not started PPP on NeXTSTEP, and so there is no PPP
  31. connection.  Somehow you have to get NeXTSTEP PPP to use the connection you
  32. have just made with Kermit.  Quite honestly, I have no idea how to do this,
  33. or even if it can be done.
  34.  
  35. C-Kermit can use a PPP connection that is already there via "set network
  36. tcp/ip, set host blah", etc, but UNIX does not provide a good way for Kermit
  37. to make the serial connection itself and then hand it over to PPP.
  38.  
  39. >From our FAQ:
  40.  
  41.   http://www.columbia.edu/kermit/faq.html
  42.   ftp://kermit.columbia.edu/kermit/faq.txt
  43.  
  44. 27 HOW CAN I EXIT FROM C-KERMIT WITHOUT HANGING UP?
  45. Many people want to be able to make a dialout connection with UNIX C-Kermit,
  46. but then use some other software on the connection that C-Kermit made.  They
  47. quickly find that when they exit from C-Kermit, that the connection is gone
  48. before they can start the other application.
  49.  
  50. It is a fundamental property of UNIX that when a process exits, then every file
  51. that was opened by that process is automatically closed by UNIX.  Closing a
  52. terminal device (such as a dialout tty device) hangs it up (by turning off the
  53. DTR signal).  There is nothing the process can do about it.
  54.  
  55. However, many workarounds are possible.  Here are just a few:
  56.  
  57.    - Tell C-Kermit to SET MODEM HANGUP-METHOD RS232, and then configure
  58.      your modem to ignore DTR (not recommended).
  59.  
  60.    - Read about the REDIRECT command in the second edition of Using
  61.      C-Kermit.
  62.  
  63.    - Find out the file descriptor of the open device (it is given by
  64.      C-Kermit's \v(ttyfd) variable) and then run ("!") your other program
  65.      from the C-Kermit prompt, feeding it the file descriptor, e.g.
  66.      through shell redirection or a command line option (the method
  67.      depends on the other program, the capabilities of the shell, etc).
  68.  
  69.    - After Kermit makes the connection, type "show comm" to find out the
  70.      filename of the lock file.  Then suspend Kermit, delete the lock
  71.      file, then start the other program and tell it to open the same tty
  72.      device.
  73.  
  74. Note that you can also tell C-Kermit to use a communications file descriptor
  75. created by another process; see the command-line options list in "Using
  76. C-Kermit", 2nd edition.
  77.  
  78. - Frank